package de.koller.retrograde.response;

import de.koller.aframe.util.web.basicHTML.BasicWebServer;
import de.koller.oceanFramework.tree.Child;
import de.koller.retrograde.RNode;

public class ResponseRoot extends RNode {
	
	public static final int PORT = 8085;
	@Child public final BasicWebServer webServer = new BasicWebServer( 8085 );
	public final TileImgSender imgSender = new TileImgSender( webServer );
	
	
	@Override
	protected void init() {
		super.init();
		
		webServer.addPage( "/home", new HomePage( webServer ) );
		webServer.addPage( "/img_", imgSender );
	}
	
}
